home *** CD-ROM | disk | FTP | other *** search
Wrap
KillRes 1.4 by Frédéric RINALDI DESCRIPTION KillRes allows to delete a resource in a file. SYNTAX KillRes <res type|All>,<res name or ID|All>[,<file name>] PARAMETERS <res type> is the resource type, always a 4 chars string, except if "All" is passed, which allows to handle all found resource types. <res name or ID> is the name or ID of the resource to delete, except if "All" is passed, which allows to handle all found resources. <file name> is optional, and the full pathname of the file containing the resource. If not provided, the current stack will be used. Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output). ERRORS If an error occurs, KillRes can return : "Error : Missing parameter(s)" "Error : Found no resource of that type" "Error : Incorrect resource type" "Error : Volume not found" "Error : Bad Name" "Error : File not found" "Error : Folder not found" "Error : I/O Error" "Error : Volume is locked" "Error : Unknown #xx" "Error : Resource not found" HISTORY 1.4 09/08/92 • "All" allowed as resource type or identifier. 1.3 12/25/91 • Added file alias handling 1.2 • Fixed a bug arising when deleting resource from current stack -------------------------------------------------------------------- All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present : KillRes XCMD, © Frederic Rinaldi, 1989…1993. Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111 Internet : RINALDI1@APPLELINK@APPLE.COM